package org.example.api.base.config;

import feign.Feign;
import org.example.api.base.interceptor.RawDataFlagInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BaseFeignConfiguration {
  @Bean
  public Feign.Builder feignBuilder() {
    return Feign.builder()
            .requestInterceptor(new RawDataFlagInterceptor());
  }
}
